<template>
  <div>
     <!-- {{ $route.path === '/driver_management' }} -->
     <template v-if="$route.path === '/driver_management'">
     <driverinfo/>
     </template>
     <template v-else-if="$route.path==='/driver_account_details'"> 
      <driveraccount/>
     </template>
      <template v-else>
       <driveraccountdetail/>
      </template>
  </div>
</template>

<script>
import Driveraccount from './driveraccount.vue';
import Driveraccountdetail from './driveraccountdetail.vue';
import Driverinfo from './driverinfo.vue';
export default {
  name: "driver-management",
  data() {
    return {
      
    };
  },
  methods: {},
  mounted() {},
  created() {},
  components: {Driverinfo, Driveraccountdetail, Driveraccount},
  watch: {
     
  },
};
</script>

<style>
</style>